/**
 * File name: Base.java Author: Willard Wang Create date: Jun 30, 2013
 */
package edu.sjtu.se.prophet.io.xml;

import java.util.ArrayList;
import java.util.List;

/**
 * @author deathspeeder
 * 
 */
public class Base {
    protected String name;
    protected String confirmed;
    protected List<OutBound> outBoundList = new ArrayList<OutBound>();
    protected List<InBound> inBoundList = new ArrayList<InBound>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getConfirmed() {
        return confirmed;
    }

    public void setConfirmed(String confirmed) {
        this.confirmed = confirmed;
    }

    public List<OutBound> getOutBoundList() {
        return outBoundList;
    }

    public void setOutBoundList(List<OutBound> outBoundList) {
        this.outBoundList = outBoundList;
    }

    public List<InBound> getInBoundList() {
        return inBoundList;
    }

    public void setInBoundList(List<InBound> inBoundList) {
        this.inBoundList = inBoundList;
    }

    public void addOutBound(OutBound out) {
        outBoundList.add(out);
    }

    public void addInBound(InBound in) {
        inBoundList.add(in);
    }
}
